<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <table class="table table-striped">
        <thead>
        <tr>
            <th style="width: 100px;">{:__('Title')}</th>
            <th>{:__('Content')}</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>{:__('Site_id')}</td>
            <td><input id="c-site_id" disabled data-rule="required" data-source="weblog/site/index" class="form-control selectpage" name="row[site_id]" type="text" value="{$row.site_id|htmlentities}"></td>
        </tr>
        <tr>
            <td>{:__('Spider_id')}</td>
            <td><input id="c-spider_id" disabled data-rule="required" data-source="weblog/spider/index" class="form-control selectpage" name="row[spider_id]" type="text" value="{$row.spider_id|htmlentities}"></td>
        </tr>
        <tr>
            <td>{:__('Ip')}</td>
            <td>{$row.ip|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Sign')}</td>
            <td>{$row.sign|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Username')}</td>
            <td>{$row.username|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Datetime')}</td>
            <td>{:$row.datetime?datetime($row.datetime):''}</td>
        </tr>
        <tr>
            <td>{:__('Method')}</td>
            <td>{$row.method|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Url')}</td>
            <td>{$row.url|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Protocol')}</td>
            <td>{$row.protocol|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Code')}</td>
            <td>{$row.code|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Size')}</td>
            <td>{$row.size|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Referer')}</td>
            <td>{$row.referer|htmlentities}</td>
        </tr>
        <tr>
            <td>{:__('Other_info')}</td>
            <td>{$row.other_info|htmlentities}</td>
        </tr>
        </tbody>
    </table>
    <div class="hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>
